package com.hjy.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjy.common.utils.PageUtils;
import com.hjy.ware.entity.PurchaseEntity;
import com.hjy.ware.vo.MergeVo;
import com.hjy.ware.vo.done.DoneVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author hjy
 * @email 2402668109@qq.com
 * @date 2022-07-16 12:09:00
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);


    PageUtils unreceiveList(Map<String, Object> params);

    @Transactional
    void merge(MergeVo mergeVo);

    void receivedPurchase(List<Long> list);

    void done(DoneVo doneVo);
}

